<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <title>Tweak Avisynth Filter</title>
   <link rel="stylesheet" type="text/css" href="../../avisynth.css">
</head>
<body >
<h2>
<a NAME="Tweak"></a>Tweak
</h2>
<p><code>Tweak </code>(<var>clip, float "hue", float "sat", float "bright", float
"cont", bool "coring", bool &quot;sse&quot;</var>)
<p>This function provides the means to adjust the hue, saturation, brightness,
and contrast of a video clip.
<p><var>Hue</var>: (-180.0 to +180.0, default 0.0) is used to adjust the color
hue of the image. Positive values shift the image towards red. Negative
values shift it towards green.
<p><var>Sat</var>: (0.0 to 10.0, default 1.0) is used to adjust the color saturation
of the image. Values above 1.0 increase the saturation. Values below 1.0
reduce the saturation. Use sat=0 to convert to grayscale.
<p><var>Bright</var>: (-255.0 to 255.0, default 0.0) is used to change the
brightness of the image. Positive values increase the brightness. Negative
values decrease the brightness.
<p><var>Cont</var>: (0.0 to 10.0, default 1.0) is used to change the contrast
of the image. Values above 1.0 increase the contrast. Values below 1.0
decrease the contrast.
<p> <i><var>coring</var> = </i>true/false
 (optional; true by default, which reflects the behaviour in older versions) is added.
When setting to true is means that the luma (Y) is clipped to [16,235],
and when setting to false it means that the luma is left untouched. [Added in <em>v2.53</em>.]
<p> <var>sse</var> = true/false (optional; false by default) re-enables the SSE code if required
(perhaps an AMD might run it faster). [Added in <em>v2.56</em>.]
<p><b>Changelog:</b></p>
<table border="1">
  <tbody>
    <tr>
      <td>v2.56</td>
      <td>added sse=true/false to enable sse code</td>
    </tr>
  </tbody>
</table>
<p><kbd>$Date: 2005/10/03 16:49:04 $</kbd></p>
<form><input TYPE="Button" VALUE="Back"
onClick="history.go(-1)"></form>
</body>
</html>
